package com.xuxin.queue;

import android.app.Application;

import com.blankj.utilcode.util.LogUtils;
import com.blankj.utilcode.util.Utils;
import com.xuxin.queue.base.BaseParam;

/**
 * Created by xu_xin
 * Created on 2020.06.05
 */
public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        initUtils();
    }

    private void initUtils() {
        Utils.init(this);
        LogUtils.getConfig().setLogSwitch(BaseParam.isDebug);
        LogUtils.getConfig().setConsoleSwitch(BaseParam.isDebug);
        LogUtils.getConfig().setGlobalTag("xuxin");
        LogUtils.getConfig().setLogHeadSwitch(false);
        LogUtils.getConfig().setBorderSwitch(false);
        LogUtils.getConfig().setSingleTagSwitch(false);
    }
}